# SPDX-License-Identifier: Apache-2.0

zephyr_library()
zephyr_library_sources_ifdef(CONFIG_DISPLAY_MCUX_ELCDIF	display_mcux_elcdif.c)
zephyr_library_sources_ifdef(CONFIG_DISPLAY_NRF_LED_MATRIX display_nrf_led_matrix.c)
zephyr_library_sources_ifdef(CONFIG_DUMMY_DISPLAY	display_dummy.c)
zephyr_library_sources_ifdef(CONFIG_INTEL_MULTIBOOTFB_DISPLAY	display_intel_multibootfb.c)
zephyr_library_sources_ifdef(CONFIG_DISPLAY_MCUX_DCNANO_LCDIF	display_mcux_dcnano_lcdif.c)
zephyr_library_sources_ifdef(CONFIG_UC81XX		uc81xx.c)
zephyr_library_sources_ifdef(CONFIG_ILI9XXX		display_ili9xxx.c)
zephyr_library_sources_ifdef(CONFIG_ILI9340		display_ili9340.c)
zephyr_library_sources_ifdef(CONFIG_ILI9341		display_ili9341.c)
zephyr_library_sources_ifdef(CONFIG_ILI9342C	display_ili9342c.c)
zephyr_library_sources_ifdef(CONFIG_ILI9488		display_ili9488.c)
zephyr_library_sources_ifdef(CONFIG_IST3931		display_ist3931.c)
zephyr_library_sources_ifdef(CONFIG_LS0XX		ls0xx.c)
zephyr_library_sources_ifdef(CONFIG_MAX7219		display_max7219.c)
zephyr_library_sources_ifdef(CONFIG_OTM8009A		display_otm8009a.c)
zephyr_library_sources_ifdef(CONFIG_SH1122		display_sh1122.c)
zephyr_library_sources_ifdef(CONFIG_SSD1320		display_ssd1320.c)
zephyr_library_sources_ifdef(CONFIG_SSD1363		display_ssd1363.c)
zephyr_library_sources_ifdef(CONFIG_SSD1306		ssd1306.c)
zephyr_library_sources_ifdef(CONFIG_SSD1327		ssd1327.c)
zephyr_library_sources_ifdef(CONFIG_SSD16XX		ssd16xx.c)
zephyr_library_sources_ifdef(CONFIG_SSD1322		ssd1322.c)
zephyr_library_sources_ifdef(CONFIG_SSD1331		display_ssd1331.c)
zephyr_library_sources_ifdef(CONFIG_SSD1351		display_ssd1351.c)
zephyr_library_sources_ifdef(CONFIG_ST75256		display_st75256.c)
zephyr_library_sources_ifdef(CONFIG_ST7567		display_st7567.c)
zephyr_library_sources_ifdef(CONFIG_ST7789V		display_st7789v.c)
zephyr_library_sources_ifdef(CONFIG_ST7735R		display_st7735r.c)
zephyr_library_sources_ifdef(CONFIG_ST7796S		display_st7796s.c)
zephyr_library_sources_ifdef(CONFIG_STM32_LTDC		display_stm32_ltdc.c)
zephyr_library_sources_ifdef(CONFIG_RM68200		display_rm68200.c)
zephyr_library_sources_ifdef(CONFIG_RM67162		display_rm67162.c)
zephyr_library_sources_ifdef(CONFIG_HX8394		display_hx8394.c)
zephyr_library_sources_ifdef(CONFIG_GC9X01X		display_gc9x01x.c)
zephyr_library_sources_ifdef(CONFIG_LED_STRIP_MATRIX	display_led_strip_matrix.c)
zephyr_library_sources_ifdef(CONFIG_DISPLAY_RENESAS_LCDC display_renesas_lcdc.c)
zephyr_library_sources_ifdef(CONFIG_NT35510		display_nt35510.c)
zephyr_library_sources_ifdef(CONFIG_RENESAS_RA_GLCDC		display_renesas_ra.c)
zephyr_library_sources_ifdef(CONFIG_ILI9806E_DSI		display_ili9806e_dsi.c)
zephyr_library_sources_ifdef(CONFIG_ST7701 display_st7701.c)
zephyr_library_sources_ifdef(CONFIG_LPM013M126 display_lpm013m126.c)

zephyr_library_sources_ifdef(CONFIG_MICROBIT_DISPLAY
	mb_display.c
	mb_font.c
)

if (CONFIG_SDL_DISPLAY)
	zephyr_library_sources(display_sdl.c)
	target_sources(native_simulator INTERFACE display_sdl_bottom.c)
endif()
